The Cap Theorem’s Broad Reach
نویسندگان
چکیده
THE CAP THEOREM’S BROAD REACH The CAP theorem has been highly influential within the cloud computing community, and is widely cited as a justification for building cloud services with weak consistency or assurance properties. CAP’s impact has been especially important in the first-tier settings on which we focus in this article. Many of today’s developers believe that CAP precludes consistency in first-tier services. For example, eBay has proposed BASE (Basically Available replicated Soft state with Eventual consistency), a development methodology in which services that run in a single datacenter on a reliable network are deliberately engineered to use potentially stale or incorrect data, rejecting synchronization in favor of faster response, but running the risk of inconsistencies.3 Researchers at Amazon.com have also adopted BASE. They point to the self-repair mechanisms in the Dynamo keyvalue store as an example of how eventual consistency behaves in practice.4 Inconsistencies that occur in eBay and Amazon cloud applications can often be masked so that users will not notice them. The same can be said for many of today’s most popular cloud computing uses: how much consistency is really needed by YouTube or to support Web searches? However, as applications with stronger assurance needs T he CAP theorem explores tradeoffs between consistency, availability, and partition tolerance, and concludes that a replicated service can have just two of these three properties.1,2 To prove CAP, researchers construct a scenario in which a replicated service is forced to respond to conflicting requests during a wide-area network outage, as might occur if two different datacenters hosted replicas of some single service, and received updates at a time when the network link between them was down. The replicas respond without discovering the conflict, resulting in inconsistency that might confuse an end user. However, there are important situations in which cloud computing developers depend upon data or service replication, and for which this particular proof does not seem to apply. Here, we consider such a case: a scalable service running in the first tier of a single datacenter. Today’s datacenters employ redundant networks that almost never experience partitioning failures: the “P” in CAP does not occur. Nonetheless, many cloud computing application developers believe in a generalized CAP “folk theorem,” holding that scalability and elasticity are incompatible with strong forms of consistency. New data-consistency models make it possible for cloud computing developers to replicate soft state without encountering the limitations associated with the CAP theorem. Kenneth P. Birman, Daniel A. Freedman, Qi Huang, and Patrick Dowell, Cornell University Overcoming CAP with Consistent Soft-State Replication
منابع مشابه
Applying the Poincaré Recurrence Theorem to Billiards
The Poincaré recurrence theorem is one of the first and most fundamental theorems of ergodic theory. When applied to a dynamical system satisfying the theorem’s hypothesis, it roughly states that the system will, within a finite amount of time, return to a state arbitrarily close to its initial state. This result is intriguing and controversial, providing a contradiction with the Second Law of ...
متن کاملHigh Energy Emission from the Polar Cap: The Slot Gap Revisited
The characteristics of the high-energy emission from polar cap accelerators will be discussed. Particles accelerated in the “slot gap” near the polar cap rim will reach altitudes of several stellar radii before initiating pair cascades, producing a wide hollow cone of emission in young pulsars and some millisecond pulsars. Model X-ray and gamma-ray spectra and pulse profiles, based on Monte-Car...
متن کاملComparative effectiveness of empiric antibiotics for community-acquired pneumonia.
BACKGROUND AND OBJECTIVE Narrow-spectrum antibiotics are recommended as the first-line agent for children hospitalized with community-acquired pneumonia (CAP). There is little scientific evidence to support that this consensus-based recommendation is as effective as the more commonly used broad-spectrum antibiotics. The objective was to compare the effectiveness of empiric treatment with narrow...
متن کاملCurrent management of patients hospitalized with community-acquired pneumonia across Europe: outcomes from REACH
BACKGROUND Data describing real-life management and treatment of community-acquired pneumonia (CAP) in Europe are limited. REACH (http://NCT01293435) was a retrospective, observational study collecting data on the management of EU patients hospitalized with CAP. METHODS Patients were aged ≥18 years, hospitalized with CAP between March 2010 and February 2011, and requiring in-hospital treatmen...
متن کاملExperimental study of PAM-4, CAP-16, and DMT for 100 Gb/s short reach optical transmission systems.
Advanced modulation formats combined with digital signal processing and direct detection is a promising way to realize high capacity, low cost and power efficient short reach optical transmission system. In this paper, we present a detailed investigation on the performance of three advanced modulation formats for 100 Gb/s short reach transmission system. They are PAM-4, CAP-16 and DMT. The deta...
متن کامل